const loadingEl = document.getElementById('load');

const txts = loadingEl.innerText.split('');

let loadingElChild = '';
txts.forEach((t, i) => {
  loadingElChild += `<span style="--index:${i}">${t}</span>`;
});

loadingEl.innerHTML = loadingElChild;
